package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import com.jingdianjichi.subject.domain.entity.SubjectMappingBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import com.jingdianjichi.subject.infra.basic.entity.SubjectMapping;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelConvert {

    SubjectLabelConvert INSTANCE=Mappers.getMapper(SubjectLabelConvert.class);

    SubjectLabel convertBoToCategory(SubjectLabelBO subjectlabelbo);

    List<SubjectLabelBO> convertListBoToListLabel(List<SubjectLabel> labelList);

    SubjectMapping convertBoToMapping(SubjectMappingBO subjectMappingBO);

    List<SubjectMappingBO> convertListMappingToBOListMapping(List<SubjectMapping> subjectMappingList);


    List<SubjectLabelBO> convertLabelListToBo(List<SubjectLabel> labelList);


}
